﻿#ifndef WEBUI_CALLBACKTYPES_H__
#define WEBUI_CALLBACKTYPES_H__

#include <map>
#include <string>
#include <boost/function.hpp>

#include "JSON.h"
#include "Query.h"

namespace webui {

typedef boost::function<JSON(const Query&)> callback_t;

typedef std::map<std::string,callback_t> callback_map_t;

} // namespace webui

#endif // WEBUI_CALLBACKTYPES_H__